﻿<Window x:Class="ComicViewer.ViewWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="ViewWindow" Height="300" Width="300"
        WindowStartupLocation="CenterScreen"
        WindowState="Maximized"
        WindowStyle="None">
    <Grid>
        <Canvas Background="Gray">
            <ListView Name="ListViewPaper" Background="Gray">
                <ListView.ItemsPanel>
                    <ItemsPanelTemplate>
                        <StackPanel Orientation="Horizontal"/>
                    </ItemsPanelTemplate>
                </ListView.ItemsPanel>
                <ListView.ItemTemplate>
                    <DataTemplate>
                        <Border BorderBrush="White" BorderThickness="10" CornerRadius="10" Margin="20,20,0,20">
                            <Image Source="{Binding Source}" Stretch="Uniform"/>
                        </Border>
                    </DataTemplate>
                </ListView.ItemTemplate>
            </ListView>
        </Canvas>
        <Grid Name="GridMask" Background="#01000000"
              MouseLeftButtonDown="GridMask_MouseLeftButtonDown"
              MouseLeftButtonUp="GridMask_MouseLeftButtonUp"
              MouseMove="GridMask_MouseMove"/>
    </Grid>
</Window>
